<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8" />
	<title>Document</title>
	<link rel="stylesheet" href="S.css" />
	<script type="text/javascript" src="../jquery.min.js"></script>
	<script type="text/javascript" src="S.js"></script>
</head>
<body>
	<input type="text" id="x1" value="2018-5-9 14:30:59">
	<script type="text/javascript">
		var picker =  new S.DatePicker({
			showTime:true
		});
		picker.bind({
			el:'#x1',
			click:function(date){
				console.log(date);
			}
		});
	</script>
</body>
</html>